package org.jeecg.modules.plan.service.impl;

import org.jeecg.modules.plan.entity.PlanComment;
import org.jeecg.modules.plan.mapper.PlanCommentMapper;
import org.jeecg.modules.plan.service.IPlanCommentService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import java.util.List;

/**
 * @Description: 计划评价
 * @Author: jeecg-boot
 * @Date:   2021-08-15
 * @Version: V1.0
 */
@Service
public class PlanCommentServiceImpl extends ServiceImpl<PlanCommentMapper, PlanComment> implements IPlanCommentService {

    @Autowired
    private PlanCommentMapper planCommentMapper;

    @Override
    public List<PlanComment> queryByPlanId(String planid) {
        return planCommentMapper.selectCommentById(planid,"-1");
    }
}
